<?php

/**
 * Klasa ProductBasket posiada liste produktów
 * 
 * @package swzz
 */
class swzz_ProductBasket
{

    // ---- PROPERTIES ----

    /**
     * TODO: describe property 'productBasketId'
     *
     * @var 
     *
     * @orm 
     */
    public $productBasketId;

    /**
     * TODO: describe property 'amount'
     *
     * @var 
     *
     * @orm 
     */
    public $amount;

    /**
     * TODO: describe property 'basket'
     *
     * @var swzz_Basket
     *
     * @orm has one swzz_Basket inverse(productBaskets)
     */
    public $basket;

    /**
     * TODO: describe property 'log'
     *
     * @var swzz_Log
     *
     * @orm has one swzz_Log inverse(productBasket)
     */
    public $log;

    /**
     * TODO: describe property 'product'
     *
     * @var swzz_Product
     *
     * @orm has one swzz_Product inverse(productBasket)
     */
    public $product;

    // ---- METHODS ----

    /**
     * TODO: describe method '__construct'
     *
     */
    public function __construct() {
    }

    /**
     * TODO: describe method 'addProduct'
     *
     */
    public function addProduct() {
        $this->product[] = $return;
    }

    /**
     * TODO: describe method '__destruct'
     *
     */
    public function __destruct() {
    }

    /**
     * TODO: describe method 'getProductBasketId'
     *
     */
    public function getProductBasketId() {
        return $this->productBasketId;
    }

    /**
     * TODO: describe method 'setProductBasketId'
     *
     * @param  $productBasketId 
     */
    public function setProductBasketId($productBasketId) {
        $this->productBasketId = $productBasketId;
    }

    /**
     * TODO: describe method 'getAmount'
     *
     */
    public function getAmount() {
        return $this->amount;
    }

    /**
     * TODO: describe method 'setAmount'
     *
     * @param  $amount 
     */
    public function setAmount($amount) {
        $this->amount = $amount;
    }

    /**
     * TODO: describe method 'getBasket'
     *
     * @return swzz_Basket 
     */
    public function getBasket() {
        return $this->basket;
    }

    /**
     * TODO: describe method 'setBasket'
     *
     * @param swzz_Basket $basket 
     */
    public function setBasket(swzz_Basket $basket) {
        $this->basket = $basket;
    }

    /**
     * TODO: describe method 'getLog'
     *
     * @return swzz_Log 
     */
    public function getLog() {
        return $this->log;
    }

    /**
     * TODO: describe method 'setLog'
     *
     * @param swzz_Log $log 
     */
    public function setLog(swzz_Log $log) {
        $this->log = $log;
    }

    /**
     * TODO: describe method 'getProduct'
     *
     * @return swzz_Product 
     */
    public function getProduct() {
        return $this->product;
    }

    /**
     * TODO: describe method 'setProduct'
     *
     * @param swzz_Product $product 
     */
    public function setProduct(swzz_Product $product) {
        $this->product = $product;
    }

} // end of class swzz_ProductBasket

?>